<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.knowledge.model.User" %>
<%
	User user = (User)request.getAttribute("user");
	String userId = (String)request.getAttribute("userId");
%>

<div class="m-composer">
	<div class="m-composer-header">
		<div class="headerimg ">
			<img src="photos/head_<%=user.getId() %>.jpg" style="width:100%;height:100%"/></div>
		<div class="statuspanel">
			<span class="myname"><%=user.getName() %></span>
			<span id="currentStatus" class="currentStatus"><%=user.getStatus() %></span>
			
			<form method="POST" action="statusModify.action" id="statusForm">
			<input type="hidden" name="userId" value="<%=userId %>" />
			<input type="hidden" name="type" value="home" />
			<div class="status-composer-bubble">
				<div class="status-composer-bubble-inner">
					<input id="publisher_statusInput" type="text" name="status"
						class="input-text status-composer-input itsempty" value="更新状态，让好友知道你在做什么"
						onfocus="this.value='';"/>
				</div>
				<span style="float:right;">
					<input type="submit" class="buttonCss" value="提交"/> </span>
			</div>
			</form>
		</div>
	</div>
</div>